﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp4
{
    class car
    {
        private string name;
       

        public car(string name)
        {
            this.Name = name;
        }

        public string Name { get => name; set => name = value; }

        public void che()
        {
            Console.WriteLine("我是{0}", this.name);
        }
        public void run()
        {
            Console.WriteLine("我能跑");
        }
    }
}
